package com.bonc.modules.rpt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bonc.modules.rpt.entity.SunshineActionEntity;
import com.bonc.modules.rpt.param.SunshineActionParam;

import java.util.List;
import java.util.Map;

/**
 * @author jinlong
 * @date 2021/8/4
 */
public interface SunshineActionService extends IService<SunshineActionEntity> {

    /**
     * 获取报表分页数据
     *
     * @param sunshineActionParam 报表参数
     * @return
     */
    Page<SunshineActionEntity> page(SunshineActionParam sunshineActionParam);

    /**
     * 获取报表数据
     *
     * @param sunshineActionParam 报表参数
     * @return
     */
    List<SunshineActionEntity> list(SunshineActionParam sunshineActionParam);


    int delete(SunshineActionParam sunshineActionParam);

    int calcCount();

    int calcMom();

    int calcDutyIncrease();

    List<Map> totalList(SunshineActionParam sunshineActionParam);
}
